package wwy.Entity.CommonEntity;

import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import jakarta.persistence.UniqueConstraint;
import lombok.Getter;
import lombok.Setter;
import wwy.Common.orgEntity.LogicEntity;

@Entity
@Getter
@Setter
@Table(uniqueConstraints = @UniqueConstraint(columnNames = {"pass_word", "phone"}))
public class User extends LogicEntity {
    private String userName;
    private String passWord;
    private String sex;
    private String phone;

}
